export const routes = [
    {
        path: "/",
        name: "main",
        component: () => import('../views/Main.vue'),
        //二级路由
        children: [
            {
                path: "/home",
                name: "home",
                alias: "",
                component: () => import('../views/Home.vue'),
                // 三级路由
                children: [
                    {
                        path: "/recommend",
                        name: "recommend",
                        alias: "",
                        component: () => import('../views/Recommend.vue')
                    },
                    {
                        path: "/found",
                        name: "found",
                        component: () => import('../views/Found.vue')
                    },
                    {
                        path: "/boy",
                        name: "boy",
                        component: () => import('../views/Boy.vue')
                    },
                    {
                        path: "/girl",
                        name: "girl",
                        component: () => import('../views/Girl.vue')
                    }
                ]
            }, {
                path: "/classlist",
                name: "classlist",
                alias: "",
                component: () => import('../views/Classlist.vue')
            }, {
                path: "/ranking",
                name: "ranking",
                alias: "",
                component: () => import('../views/Ranking.vue')
            }, {
                path: "/shujia",
                name: "shujia",
                alias: "",
                component: () => import('../views/Shujia.vue')
            }, {
                path: "/my",
                name: "my",
                alias: "",
                component: () => import('../views/My.vue')
            },
        ]
    },
    {
        path: "/classlistTwo",
        name: "classlistTwo",
        component: () => import('../views/ClasslistTwo.vue')
    },
    {
        path: "/rankingTwo",
        name: "rankingTwo",
        component: () => import('../views/RankingTwo.vue')
    },
    {
        path: "/search",
        name: "search",
        component: () => import('../views/Search.vue')
    },
    {
        path: "/detail",
        name: "detail",
        component: () => import('../views/Detail.vue')
    },
    {
        path: "/seecomic",
        name: "seecomic",
        component: () => import('../views/Seecomic.vue')
    },
    {
        path: "/login",
        name: "login",
        component: () => import('../views/Login.vue')
    },
    {
        path: "/register",
        name: "register",
        component: () => import('../views/Register.vue')
    }
]